package xyz.wpxy;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Description:
 * @author: Peng Wei
 * @date:2023/8/14 18:50
 */
@EnableAsync
@EnableScheduling
@SpringBootApplication
public class WpApplication implements ApplicationRunner {


    public static void main(String[] args) {
        SpringApplication.run(WpApplication.class, args);
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("加载资源完毕");
    }
}
